#include <iostream>
using std::cout;
using std::endl;

void * operator new(size_t sz){
    cout << "全局的operator new " << endl;
    return malloc(sz);
}

void test0(){
    int * p = new int(1);
}

int main(void){
    test0();
    return 0;
}
